package com.winter.main.service.system;


import com.winter.main.model.entity.SysUser;

import java.util.List;

/**
 * Desc:
 * Author: dushuang
 * Date: Create in 2018/4/18
 */
public interface SysUserService {

    /**
     * 查询user信息
     * @param user
     * @return
     */
    SysUser selectOne(SysUser user);

    void insertUser(SysUser user);

    /**
     * 用户名查询
     * @param username
     * @return
     */
    SysUser findByUsername(String username);


    List<SysUser> findReadUser(Long id);

    void insertReadUser(SysUser user);

}
